.class public Lcom/xingbook/park/view/g;
.super Landroid/widget/LinearLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/view/View$OnTouchListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field a:[Lcn/a/a/f;

.field b:Landroid/widget/TextView;

.field c:Landroid/widget/TextView;

.field d:Landroid/widget/ListView;

.field e:Landroid/widget/ListView;

.field f:Landroid/widget/ListView;

.field g:[I

.field h:[I

.field i:Ljava/util/ArrayList;

.field j:Ljava/util/ArrayList;

.field k:Lcom/xingbook/park/a/k;

.field l:Lcom/xingbook/park/a/k;

.field m:Lcom/xingbook/park/a/i;

.field n:Lcom/xingbook/ui/b/n;

.field o:[Ljava/lang/String;

.field p:Lcom/xingbook/c/a;

.field private q:Lcom/xingbook/d/a;

.field private r:Landroid/view/View;

.field private s:Landroid/content/Context;

.field private t:Landroid/widget/ImageView;

.field private u:Landroid/widget/ImageView;

.field private v:Landroid/widget/ImageView;

.field private w:Landroid/widget/ImageView;

.field private x:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/d/a;Lcom/xingbook/ui/b/n;Lcom/xingbook/c/a;)V
    .locals 4

    const/4 v3, 0x3

    const/4 v2, 0x2

    const/4 v1, 0x1

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-array v0, v3, [I

    fill-array-data v0, :array_0

    iput-object v0, p0, Lcom/xingbook/park/view/g;->g:[I

    new-array v0, v3, [I

    aput v1, v0, v1

    aput v2, v0, v2

    iput-object v0, p0, Lcom/xingbook/park/view/g;->h:[I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/view/g;->i:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/view/g;->j:Ljava/util/ArrayList;

    iput-object p1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    iput-object p3, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    iput-object p4, p0, Lcom/xingbook/park/view/g;->p:Lcom/xingbook/c/a;

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0c0005

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/view/g;->o:[Ljava/lang/String;

    invoke-virtual {p0}, Lcom/xingbook/park/view/g;->getControlView()V

    invoke-virtual {p0}, Lcom/xingbook/park/view/g;->a()V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    invoke-virtual {p0, v1, v0}, Lcom/xingbook/park/view/g;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void

    :array_0
    .array-data 0x4
        0x1ft 0x1t 0x2t 0x7ft
        0x20t 0x1t 0x2t 0x7ft
        0x21t 0x1t 0x2t 0x7ft
    .end array-data
.end method

.method private setListViewVisible(I)V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x4

    const/4 v0, 0x1

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    :goto_1
    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_0

    :cond_1
    const/4 v0, 0x2

    if-ne p1, v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    :goto_2
    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_2

    :cond_3
    const/4 v0, 0x3

    if-ne p1, v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    :goto_3
    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_1

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_3

    :cond_5
    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_1
.end method


# virtual methods
.method public a()V
    .locals 7

    const v6, 0x7f030013

    const/4 v5, 0x0

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->p()[Lcn/a/a/f;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/view/g;->a:[Lcn/a/a/f;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->A()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->g(I)Lcn/a/a/f;

    move-result-object v1

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v2, 0x7f0a00c1

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->t:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v2, 0x7f0a00ba

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->u:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v2, 0x7f0a00bd

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->v:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v2, 0x7f0a00bf

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->w:Landroid/widget/ImageView;

    invoke-virtual {v1}, Lcn/a/a/f;->c()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->u:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcn/a/a/f;->c()I

    move-result v1

    invoke-virtual {v2, v1}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->t:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->u:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->v:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->w:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v1, 0x7f0a00c2

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->x:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->x:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v1, 0x7f0a00be

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v1, 0x7f0a00bc

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v5}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Lcom/xingbook/park/a/k;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/park/view/g;->g:[I

    iget-object v3, p0, Lcom/xingbook/park/view/g;->o:[Ljava/lang/String;

    invoke-direct {v0, v1, v6, v2, v3}, Lcom/xingbook/park/a/k;-><init>(Landroid/content/Context;I[I[Ljava/lang/String;)V

    iput-object v0, p0, Lcom/xingbook/park/view/g;->k:Lcom/xingbook/park/a/k;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->k:Lcom/xingbook/park/a/k;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setFadingEdgeLength(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v1, 0x7f0a00bb

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->r()Lcn/a/a/f;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/f;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v1, 0x7f0a00b9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v5}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Lcom/xingbook/park/a/i;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/park/view/g;->a:[Lcn/a/a/f;

    invoke-direct {v0, v1, v6, v2}, Lcom/xingbook/park/a/i;-><init>(Landroid/content/Context;I[Lcn/a/a/f;)V

    iput-object v0, p0, Lcom/xingbook/park/view/g;->m:Lcom/xingbook/park/a/i;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->m:Lcom/xingbook/park/a/i;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setFadingEdgeLength(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    const v1, 0x7f0a00c0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    new-instance v0, Lcom/xingbook/park/a/k;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    iget-object v2, p0, Lcom/xingbook/park/view/g;->i:Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/xingbook/park/view/g;->j:Ljava/util/ArrayList;

    invoke-direct {v0, v1, v6, v2, v3}, Lcom/xingbook/park/a/k;-><init>(Landroid/content/Context;ILjava/util/ArrayList;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/xingbook/park/view/g;->l:Lcom/xingbook/park/a/k;

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->l:Lcom/xingbook/park/a/k;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setFadingEdgeLength(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->f:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v5}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v5}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {p0}, Lcom/xingbook/park/view/g;->c()V

    invoke-virtual {p0}, Lcom/xingbook/park/view/g;->b()V

    return-void
.end method

.method public b()V
    .locals 4

    const/4 v3, 0x2

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->t()I

    move-result v0

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->o:[Ljava/lang/String;

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->v:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020120

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->k:Lcom/xingbook/park/a/k;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->t()I

    move-result v0

    if-ne v0, v3, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/view/g;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->o:[Ljava/lang/String;

    aget-object v1, v1, v3

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->v:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020121

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/view/g;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->o:[Ljava/lang/String;

    const/4 v2, 0x0

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->v:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02011f

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0
.end method

.method public c()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/view/g;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->r()Lcn/a/a/f;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/f;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->u:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    iget-object v2, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v2}, Lcom/xingbook/d/a;->r()Lcn/a/a/f;

    move-result-object v2

    invoke-virtual {v2}, Lcn/a/a/f;->c()I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->postInvalidate()V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->m:Lcom/xingbook/park/a/i;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void
.end method

.method public getControlView()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    const v1, 0x7f030012

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/view/g;->r:Landroid/view/View;

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x2

    const/4 v2, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->p:Lcom/xingbook/c/a;

    invoke-virtual {v0, v3}, Lcom/xingbook/c/a;->a(I)V

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    const v1, 0x7f0800d2

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :pswitch_2
    invoke-direct {p0, v2}, Lcom/xingbook/park/view/g;->setListViewVisible(I)V

    goto :goto_0

    :pswitch_3
    invoke-direct {p0, v4}, Lcom/xingbook/park/view/g;->setListViewVisible(I)V

    goto :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    sget v1, Lcn/a/a/b;->a:I

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->k(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->h()V

    const/4 v0, -0x1

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/g;->setListViewVisible(I)V

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->t()I

    move-result v1

    if-ne v1, v4, :cond_2

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/i;->d()Z

    move-result v1

    if-eqz v1, :cond_1

    const-class v0, Lcom/xingbook/park/activity/SleepAct;

    :goto_1
    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    invoke-direct {v1, v2, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0, v1, v3}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f04001c

    const v2, 0x7f040020

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_1
    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    const v2, 0x7f0800d3

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_1

    :cond_2
    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->t()I

    move-result v1

    if-ne v1, v2, :cond_4

    iget-object v1, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/c;->a()I

    move-result v1

    if-ne v1, v2, :cond_3

    const-class v0, Lcom/xingbook/park/activity/ReadingAct;

    goto :goto_1

    :cond_3
    iget-object v1, p0, Lcom/xingbook/park/view/g;->s:Landroid/content/Context;

    const v2, 0x7f0800d4

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_1

    :cond_4
    const-class v0, Lcom/xingbook/park/activity/ReadingAct;

    goto :goto_1

    :pswitch_data_0
    .packed-switch 0x7f0a00ba
        :pswitch_2
        :pswitch_0
        :pswitch_0
        :pswitch_3
        :pswitch_0
        :pswitch_4
        :pswitch_0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    const/4 v3, 0x4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->p:Lcom/xingbook/c/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/c/a;->a(I)V

    invoke-virtual {p1}, Landroid/widget/AdapterView;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    :sswitch_0
    return-void

    :sswitch_1
    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    add-int/lit8 v1, p3, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->d(I)V

    invoke-virtual {p0}, Lcom/xingbook/park/view/g;->c()V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->h()V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->i()V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/b/n;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->f()V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->g()V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->n:Lcom/xingbook/ui/b/n;

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->postInvalidate()V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/g;->e:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/xingbook/park/view/g;->q:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/park/view/g;->h:[I

    aget v1, v1, p3

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->i(I)V

    invoke-virtual {p0}, Lcom/xingbook/park/view/g;->b()V

    iget-object v0, p0, Lcom/xingbook/park/view/g;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setVisibility(I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0a00b9 -> :sswitch_1
        0x7f0a00bc -> :sswitch_2
        0x7f0a00c0 -> :sswitch_0
    .end sparse-switch
.end method

.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1

    const/4 v0, -0x1

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/g;->setListViewVisible(I)V

    const/4 v0, 0x0

    return v0
.end method
